package serie02;

import java.io.File;
import java.io.IOException;

public class Test {

	public static void main(String[] args) {
		File file = new File("toto.txt"); 
		SplitManager f = new StdSplitManager(file);
		// f.setSplitsSizes(2);
		long[] tab = new long[] {2, 5, 3, 4};
		f.setSplitsSizes(tab);
		f.setSplitsNumber(4);
		try {
			f.split();
		} catch (IOException e) {
			System.out.println("erreur : IOException");
		}
	}

}
